package com.yp.lession01.services;

import com.github.pagehelper.PageInfo;
import com.zoro.doc.entity.Entry;

import java.util.List;

/**
 * @author zoro
 * @create 2022-03-11 21:59
 */
public interface EntryServices {
    List<Entry> getAllEntry(Integer cId);

    PageInfo<Entry> getEntryByPage(Integer pageNum, Integer cId, Integer pageSize);

    boolean delBookByEid(Integer eId);

    boolean addBook(Entry entry);

    Entry getBookByEid(Integer eId);

    boolean updateBook(Entry entry);
}
